# -*- coding: utf-8 -*-

from vtn_base import VtnBase

import vtn_factory

class VtnProgramas(VtnBase):

    def __init__(self, parent_window):
        VtnBase.__init__(self, "vtn_programas", parent_window)
        self.show_background_image("bk_toquin")
        self.show()
        
    def on_btn_ayud_clicked(self, widget, *args):
        print "on_btn_ayud_clicked called with self.%s" % widget.get_name()
    
    def on_btn_oficina_clicked(self, widget, *args):
        vtn_factory.switch_to_filter_window(self, "category:ofimatica")

    def on_btn_multimedia_clicked(self, widget, *args):
        vtn_factory.switch_to_filter_window(self, "category:multimedia")

    def on_btn_educativos_clicked(self, widget, *args):
        vtn_factory.switch_to_filter_window(self, "category:educativos")

    def on_btn_diseno_clicked(self, widget, *args):
        vtn_factory.switch_to_filter_window(self, "category:diseno")

    def on_btn_juegos_clicked(self, widget, *args):
        vtn_factory.switch_to_filter_window(self, "category:juegos")
